<?php
/**
 * Created by PhpStorm.
 * User: 1
 * Date: 2016-12-02
 * Time: 10:27
 */
namespace  app\src\profit\enum;

class ProfitEnum{

    const INSURANCE_TYPE = 1;
    const SELLER_TYPE = 2;





    static function getProfitRate(){
        return[
            'INSURANCE'=>[
                'IN_MEMBER' => "0.50",
                'IN_STORE' => "0.35",
                'IN_STOREKEEPER' => "0.15",
                'IN_PERSON'  => "0.25",
                'IN_CITY'  => "0.15",
                'IN_PROVINCE'  => "0.07",
                'IN_HEADQUARTERS'=>"0.03",
            ],
            "SELLER"=>[
                'SE_ME' => "0.50",//用户
                'SE_FA_MEMBER' => "0.05",//上级用户
                'SE_GFA_MEMBER' => "0.05",//上上级用户
                'SE_FA_STORE' => "0.10",//父商家
                'SE_GFA_STORE' => "0.05",//祖商家
                'SE_STOREKEEPER' => "0.02",//店小二
                'SE_PERSON'  => "0.10",//个人
                'SE_CITY'  => "0.06",//城市
                'SE_PROVINCE'  => "0.03",//省
                'SE_HEADQUARTERS'=>"0.02",//总部
            ],

        ];
    }



}